package com.hxzy.bean;

import java.time.LocalDateTime;

public class HotFilm {
    private int id;
    private Film film;
    private LocalDateTime time;
    private int weight;
    private int state;

    public HotFilm() {
    }

    public HotFilm(int id, Film film, LocalDateTime time, int weight, int state) {
        this.id = id;
        this.film = film;
        this.time = time;
        this.weight = weight;
        this.state = state;
    }

    @Override
    public String toString() {
        return "HotFilm{" +
                "id=" + id +
                ", film=" + film +
                ", time=" + time +
                ", weight=" + weight +
                ", state=" + state +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Film getFilm() {
        return film;
    }

    public void setFilm(Film film) {
        this.film = film;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
